<div class="container">
  <div class="row">
    <div class="main col-md-8">
      <?php foreach ($articles as $value) {?>
      <div class="title">
        <a href="<?=site_url('ciblog/view/'.$value->id)?>"><?=$value->title?></a>
        <span class="pull-right">浏览次数：<?=$value->view?></span>
      </div>
      <div class=" center clearfix">
        <div class="img"><img class="img-thumbnail" src="<?=base_url().$value->img?>" ></div>
        <div class="right">
          <p class="desc"><?=$value->desc?></p>
          <p class="time"><i class="glyphicon glyphicon-time"></i><?=date('Y-m-d',$value->create_time)?></p>
          <a class="viewall btn btn-warning" href="<?=site_url('ciblog/view/'.$value->id)?>">阅读全文>></a>
        </div>
      </div>
      <hr/>
      <?php  }?>
    </div>
    <div class="col-md-4">.col-xs-6 .col-md-4</div>
  </div>
</div>

